//  客户端
const path = require('path');
const merge = require('webpack-merge')
const config = require('./webpack.base.js')


const clientConfig = {
  target:'node',  //  打包的时候不用打包Nodejs的原生包
  mode:'development',
  entry:'./src/client/index.js',
  output:{
    filename:'index.js',
    path:path.resolve(__dirname,'public')
  }
}

module.exports = merge(config,clientConfig)